#!/usr/bin/env python
# -*- coding: utf-8 -*-

from __future__ import print_function, unicode_literals
import colorama
import os
import sys

reload(sys)
sys.setdefaultencoding('utf-8')
colorama.init(autoreset=True)

STRINGS = {
    "1": "  __ \n /_ |\n  | |\n  | |\n  | |\n  |_|\n     ",
    "2": " ___  \n|__ \ \n   ) |\n  / / \n / /_ \n|____|\n      ",
    "3": " ____  \n|___ \ \n  __) |\n |__ < \n ___) |\n|____/ \n       ",
    "4": " _  _   \n| || |  \n| || |_ \n|__   _|\n   | |  \n   |_|  \n        ",
    "5": " _____ \n| ____|\n| |__  \n|___ \ \n ___) |\n|____/ \n       ",
    "6": "   __  \n  / /  \n / /_  \n| '_ \ \n| (_) |\n \___/ \n       ",
    "7": " ______ \n|____  |\n    / / \n   / /  \n  / /   \n /_/    \n        ",
    "8": "  ___  \n / _ \\ \n| (_) |\n > _ < \n| (_) |\n \\___/ \n       ",
    "9": "  ___  \n / _ \\ \n| (_) |\n \\__, |\n   / / \n  /_/  \n       ",
    "0": "  ___  \n / _ \\ \n| | | |\n| | | |\n| |_| |\n \\___/ \n       ",
    "+": "       \n   _   \n _| |_ \n|_   _|\n  |_|  \n       \n       ",
    "-": "        \n        \n ______ \n|______|\n        \n        \n        ",
    "*": "    \n    \n/\\/\\\n>  <\n\\/\\/\n    \n    ",
    "/": "    _    \n   (_)   \n _______ \n|_______|\n    _    \n   (_)   \n         ",
    "=": "        \n ______ \n|______|\n ______ \n|______|\n        \n        ",
    "(": "  __\n / /\n| | \n| | \n| | \n| | \n \\_\\",
    ")": "__  \n\\ \\ \n | |\n | |\n | |\n | |\n/_/ "
}
NUMBERS = ("1", "2", "3", "4", "5", "6", "7", "8", "9", "0")
OPERATORS = ("+", "-", "*", "/")


def print_big_character(v):
    s = [STRINGS[i] for i in v if i in STRINGS]
    print('\n'.join(map(' '.join, zip(*map(unicode.split, s, '\n'*len(s))))))


def pbc(v):
    return print_big_character(v)


def print_split():
    print('--------------------')


def clear_screen():
    os.system('cls')
